<template>
  <div class="box-shadow">
    <el-tabs v-model="dataType">
      <el-tab-pane :label="$t('历史数据')" name="0">
        <history></history>
      </el-tab-pane>
      <el-tab-pane :label="$t('数据分析')" name="1">
        <dataAnalysis></dataAnalysis>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
/**
 * 数据中心-巡检数据
 */
import history from "./history.vue";
import dataAnalysis from "./analysis.vue";
export default {
  components: {
    history,
    dataAnalysis,
  },
  props: {},
  data() {
    return {
      dataType: "0", // tabs切换type
    };
  },
  computed: {},
  methods: {},
};
</script>

<style scoped lang="scss"></style>
